# -*- coding: utf-8 -*-
# !/usr/bin/env python

from django.urls import re_path
from components.kubernetes.api_sign import K8sApisignManage
from components.kubernetes.deployments.conf_yaml import DeploymentsConfYaml
from components.kubernetes.deployments.deployments import Deployments
from components.kubernetes.deployments.download_image import DownloadImage
from components.kubernetes.deployments.start_compare_deployment_yaml import startCompareDeploymentYaml
from components.kubernetes.deployments.sync_deployment_yaml import SyncDeploymentYaml
from components.kubernetes.env_cluster_host import EnvClusterHost
from components.kubernetes.env_k8s_cluster import EnvK8sCluster
from components.kubernetes.hosts_env_manage import ClusterHostsManage
from components.kubernetes.namespace.namespace import NameSpace
from components.kubernetes.node.node import TopNodes
from components.kubernetes.node.verify_node_info import VerifyNodeInfo
from components.kubernetes.pod.compare_image_version import CompareImageVersion
from components.kubernetes.pod.pods import Pods
from components.kubernetes.service.service import Service
from components.kubernetes.service.services import Services
from components.kubernetes.update_image_version import UpdateImageVersion

urlpatterns = [
    re_path(r'k8s_api_sign_manage$', K8sApisignManage.as_view()),
    re_path(r'env_k8s_cluster$', EnvK8sCluster.as_view()),
    re_path(r'env_cluster_host$', EnvClusterHost.as_view()),
    re_path(r'cluster_hosts_manage$', ClusterHostsManage.as_view()),
    re_path(r'services', Services.as_view()),
    re_path(r'service', Service.as_view()),
    re_path(r'pod', Pods.as_view()),
    re_path(r'namespace', NameSpace.as_view()),
    re_path(r'compare_image_version', CompareImageVersion.as_view()),
    re_path(r'update_image_version', UpdateImageVersion.as_view()),
    re_path(r'top_nodes', TopNodes.as_view()),
    re_path(r'deployments$', Deployments.as_view()),
    re_path(r'deployments_conf_yaml$', DeploymentsConfYaml.as_view()),
    re_path(r'start_compare_deployment_yaml$', startCompareDeploymentYaml.as_view()),
    re_path(r'sync_deployment_yaml$', SyncDeploymentYaml.as_view()),
    re_path(r'download_image$', DownloadImage.as_view()),
    re_path(r'verify_node_info$', VerifyNodeInfo.as_view()),

]
